#div1 {
  background: red;
  color: #fff;
}
#div1 #div2 {
  background: #00ff95;
  color: #000;
  width: 50px;
  transform: matrix3d(125);
}